home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / print / gsview10.zip / gsview.rc < prev    next >
Text File  |  1993-07-29  |  15KB  |  378 lines

  1. /*
  2.  * gsview.rc -- Resources for GSVIEW.EXE, a graphical interface for 
  3.  *              MS-Windows Ghostscript
  4.  * Copyright (C) 1993  Russell Lang
  5.  */
  6.  
  7. #include <windows.h>
  8. #include "gsview.h"
  9. #include "gsview2.rc"    /* language independent resources */
  10.  
  11. gsview_menu MENU
  12. BEGIN
  13.     POPUP "&File"
  14.     BEGIN
  15.         MENUITEM "&Open...\tO", IDM_OPEN
  16.         MENUITEM "&Close\tC", IDM_CLOSE
  17.         MENUITEM "&Next Page\t+", IDM_NEXT
  18.         MENUITEM "Pre&vious Page\t-", IDM_PREV
  19.         MENUITEM "&Goto Page...\tG", IDM_GOTO
  20.         MENUITEM "&Redisplay\tR", IDM_REDISPLAY
  21.         MENUITEM "&Info...\tI", IDM_INFO
  22.         MENUITEM SEPARATOR
  23.         MENUITEM "&Select File...\tS", IDM_SELECT
  24.         MENUITEM "&Print...\tP", IDM_PRINT
  25.         MENUITEM "Print To &File...\tF", IDM_PRINTTOFILE
  26.         MENUITEM "Print File...", IDM_SPOOL
  27.         MENUITEM "&Extract...\tE", IDM_EXTRACT
  28.         MENUITEM "PS to EPS", IDM_PSTOEPS
  29.         MENUITEM SEPARATOR
  30.         MENUITEM "E&xit", IDM_EXIT
  31.     END
  32.     POPUP "&Edit"
  33.     BEGIN
  34.         MENUITEM "&Copy\tCtrl+C", IDM_COPYCLIP
  35.         MENUITEM SEPARATOR
  36.         MENUITEM "&Paste To...", IDM_PASTETO
  37.         MENUITEM "Convert &Bitmap", IDM_CONVERT
  38.         MENUITEM SEPARATOR
  39.         POPUP "&Add EPS Preview"
  40.         BEGIN
  41.             MENUITEM "&Interchange", IDM_MAKEEPSI
  42.             MENUITEM "TIFF 4", IDM_MAKEEPST4
  43.             MENUITEM "&TIFF 5", IDM_MAKEEPST
  44.             MENUITEM "&Windows Metafile", IDM_MAKEEPSW
  45.         END
  46.         POPUP "&Extract EPS"
  47.         BEGIN
  48.             MENUITEM "&PostScript", IDM_EXTRACTPS
  49.             MENUITEM "Pre&view", IDM_EXTRACTPRE
  50.         END
  51.     END
  52.     POPUP "O&ptions"
  53.     BEGIN
  54.         MENUITEM "&Ghostscript Command...", IDM_GSCOMMAND
  55.         MENUITEM "Sounds...", IDM_SOUNDS
  56.         MENUITEM "&Save Settings", IDM_SETTINGS
  57.         MENUITEM SEPARATOR
  58.         MENUITEM "Save Settings on &Exit", IDM_SAVESETTINGS
  59.         MENUITEM "Sa&fer", IDM_SAFER
  60.         MENUITEM "Save Last &Directory", IDM_SAVEDIR
  61.         MENUITEM "&Button Bar", IDM_BUTTONSHOW
  62.         MENUITEM "&Quick Open", IDM_QUICK
  63.         MENUITEM "Auto &Redisplay", IDM_AUTOREDISPLAY
  64.         MENUITEM "EPS &Clip", IDM_EPSFCLIP
  65.         MENUITEM "EPS &Warn", IDM_EPSFWARN
  66.     END
  67.     POPUP "&Orientation"
  68.     BEGIN
  69.         MENUITEM "&Portrait", IDM_PORTRAIT
  70.         MENUITEM "&Landscape", IDM_LANDSCAPE
  71.         MENUITEM "&Upside-down", IDM_UPSIDEDOWN
  72.         MENUITEM "&Seascape", IDM_SEASCAPE
  73.         MENUITEM SEPARATOR
  74.         MENUITEM "Swap Landscape", IDM_SWAPLANDSCAPE
  75.     END
  76.     POPUP "&Media"
  77.     BEGIN
  78.         MENUITEM "&Resolution...", IDM_RESOLUTION
  79.         MENUITEM SEPARATOR
  80.         MENUITEM "Letter", IDM_LETTER
  81.         MENUITEM "Tabloid", IDM_TABLOID
  82.         MENUITEM "Ledger", IDM_LEDGER
  83.         MENUITEM "Legal", IDM_LEGAL
  84.         MENUITEM "Statement", IDM_STATEMENT
  85.         MENUITEM "Executive", IDM_EXECUTIVE
  86.         MENUITEM "A3", IDM_A3
  87.         MENUITEM "A4", IDM_A4
  88.         MENUITEM "A5", IDM_A5
  89.         MENUITEM "B4", IDM_B4
  90.         MENUITEM "B5", IDM_B5
  91.         MENUITEM "Folio", IDM_FOLIO
  92.         MENUITEM "Quarto", IDM_QUARTO
  93.         MENUITEM "10x14", IDM_10X14
  94.         MENUITEM "User Defined...", IDM_USERSIZE
  95.     END
  96.     POPUP "&Help"
  97.     BEGIN
  98.         MENUITEM "&Contents", IDM_HELPCONTENT
  99.         MENUITEM "&Search for Help on...", IDM_HELPSEARCH
  100.         MENUITEM SEPARATOR
  101.         MENUITEM "&About...", IDM_ABOUT
  102.     END
  103. END
  104.  
  105. gsview_accel ACCELERATORS
  106. BEGIN
  107.     "O", IDM_OPEN
  108.     "o", IDM_OPEN
  109.     "C", IDM_CLOSE
  110.     "c", IDM_CLOSE
  111.     "N", IDM_NEXT
  112.     "n", IDM_NEXT
  113.     "+", IDM_NEXT
  114.     "V", IDM_PREV
  115.     "v", IDM_PREV
  116.     "-", IDM_PREV
  117.     "G", IDM_GOTO
  118.     "g", IDM_GOTO
  119.     "I", IDM_INFO
  120.     "i", IDM_INFO
  121.     "R", IDM_REDISPLAY
  122.     "r", IDM_REDISPLAY
  123.     "S", IDM_SELECT
  124.     "s", IDM_SELECT
  125.     "P", IDM_PRINT
  126.     "p", IDM_PRINT
  127.     "F", IDM_PRINTTOFILE
  128.     "f", IDM_PRINTTOFILE
  129.     "E", IDM_EXTRACT
  130.     "e", IDM_EXTRACT
  131.     VK_F1, IDM_HELPCONTENT, VIRTKEY
  132.     "^C", IDM_COPYCLIP
  133.     VK_INSERT, IDM_COPYCLIP, VIRTKEY, CONTROL
  134. END
  135.  
  136.  
  137. STRINGTABLE
  138. BEGIN
  139.     /* general strings */
  140.     IDS_FILTER, "Default (*.ps)|*.ps|EPS Files (*.eps)|*.eps|EPI Files (*.epi)|*.epi|All Files (*.*)|*.*|Bitmap Files (*.bmp)|*.bmp|TIFF Files (*.tif)|*.tif|Metafiles (*.wmf)|*.wmf|"
  141.     IDS_TITLE, "Ghostview for Windows"
  142.     IDS_HELPFILE, "gsview.hlp"
  143.     IDS_WRONGGS, "Incompatible Windows Ghostscript Program"
  144.     IDS_BUSY, "Ghostview is busy.\nClear busy state?"
  145. END
  146.  
  147. STRINGTABLE
  148. BEGIN
  149.     IDS_FILE, "File: "
  150.     IDS_NOFILE, "No File"
  151.     IDS_PAGE, "Page: "
  152.     IDS_NOPAGE, "No page numbering available"
  153.     IDS_LANDSCAPE, "Landscape"
  154.     IDS_PORTRAIT, "Portrait"
  155.     IDS_ASCEND, "Ascending"
  156.     IDS_DESCEND, "Descending"
  157.     IDS_SPECIAL, "Special"
  158.     IDS_EPSF, "EPS"
  159.     IDS_EPSI, "EPS with Interchange Preview"
  160.     IDS_EPST, "EPS with TIFF Preview"
  161.     IDS_EPSW, "EPS with Metafile Preview"
  162.     IDS_DSC, "DSC"
  163.     IDS_NOTDSC, "No DSC comments"
  164.     IDS_PAGEINFO, "Page: \"%s\"  %d of %d"
  165. END
  166.  
  167. STRINGTABLE
  168. BEGIN
  169.     IDS_OUTPUTFILE, "Output Filename"
  170.     IDS_PRINTINGALL, "No DSC comments\nPrinting all pages"
  171.     IDS_PRINTFILE, "Print File"
  172.     IDS_NOSPOOL, "Print Manager is disabled\nEnable it now ?"
  173.     IDS_SELECTPAGE, "Select Page"
  174.     IDS_SELECTPAGES, "Select Pages"
  175.     IDS_TIMEOUT, "Timeout waiting for Ghostscript"
  176.     IDS_NOTIMER, "No Timer available"
  177.     IDS_NOTOPEN, "No document open"
  178.     IDS_CANNOTRUN, "Can't run "
  179.     IDS_TOOLONG, "Command line too long: "
  180.     IDS_WAIT, "Wait"
  181.     IDS_NOMORE, "No more pages"
  182.     IDS_GSCOMMAND, "Ghostscript command ?"
  183.     IDS_RES, "Display resolution (dpi) ?"
  184.     IDS_USERWIDTH, "Width in 1/72 inch units ?"
  185.     IDS_USERHEIGHT, "Height in 1/72 inch units ?"
  186.     IDS_BADEPS, "Problem making EPS file"
  187.     IDS_NOPREVIEW, "Not a DOS EPS file or\nNo binary preview"
  188.     IDS_NOTDFNAME, "Can't use same name as open document"
  189.     IDS_PIPEERR, "Pipe error"
  190.     IDS_CANCELDONE, "%d%% done"
  191.     IDS_BADCLI, "Bad command line option: %s"
  192. END
  193.  
  194. STRINGTABLE
  195. BEGIN
  196.     /* sound type types*/
  197.     IDS_SOUNDNAME, "Sound File"
  198.     IDS_SNDPAGE, "Output Page"
  199.     IDS_SNDNOPAGE, "No Page"
  200.     IDS_SNDNONUMBER, "No Numbering"
  201.     IDS_SNDNOTOPEN, "Not Open"
  202.     IDS_SNDERROR, "Error"
  203.     IDS_SNDTIMEOUT,    "Timeout"
  204.     IDS_SNDSTART, "Start"
  205.     IDS_SNDEXIT, "Exit"
  206.     IDS_SOUNDNOMM, "Can't load MMSYSTEM.DLL\nSounds will be unavailable"
  207.     IDS_NONE, "<None>"
  208.     IDS_SPKR, "<Speaker Beep>"
  209. END
  210.  
  211. STRINGTABLE
  212. BEGIN
  213.     /* help topics - these need to match keywords in gsview.doc */
  214.     IDS_TOPICROOT,  "Overview"
  215.     IDS_TOPICOPEN,  "Open"
  216.     IDS_TOPICPRINT, "Print"
  217.     IDS_TOPICEDIT, "Edit"
  218.     IDS_TOPICGSCMD, "Ghostscript Command"
  219.     IDS_TOPICSOUND, "Sounds"
  220.     IDS_TOPICMEDIA, "Media"
  221.     IDS_TOPICPSTOEPS, "PS to EPS"
  222. END
  223.  
  224. STRINGTABLE
  225. BEGIN
  226.     IDS_BBPROMPT,  "Click at left"
  227.     IDS_BBPROMPT1, "Click at bottom"
  228.     IDS_BBPROMPT2, "Click at right"
  229.     IDS_BBPROMPT3, "Click at top"
  230.     IDS_EPSONEPAGE, "An EPS file must be a single page document.\nSee help on 'PS to EPS'"
  231.     IDS_EPSQPAGES, "Is this a single page document ?"
  232.     IDS_EPSNOBBOX, "Could not obtain Bounding Box"
  233.     IDS_EPSREAD, "Have you read help `PS to EPS` ?"
  234. END
  235.  
  236. AboutDlgBox DIALOG 20, 32, 256, 156
  237. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  238. CAPTION "About Ghostview for Windows"
  239. BEGIN
  240.     CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 218, 5, 32, 14
  241.     LTEXT "GSVIEW.EXE", -1, 32, 8, 64, 8
  242.     RTEXT "Version:", -1, 96, 8, 32, 8
  243.     LTEXT "", ABOUT_VERSION, 130, 8, 80, 8
  244.     LTEXT "A Ghostscript graphical interface", -1, 32, 16, 128, 8
  245.     LTEXT "This program is free software; you can redistribute it and/or modify", -1, 8, 28, 240, 8
  246.     LTEXT "it under the terms of the GNU General Public License as published by", -1, 8, 36, 240, 8
  247.     LTEXT "the Free Software Foundation; either version 2 of the License, or", -1, 8, 44, 240, 8
  248.     LTEXT "(at your option) any later version.", -1, 8, 52, 240, 8
  249.     LTEXT "This program is distributed in the hope that it will be useful", -1, 8, 64, 240, 8
  250.     LTEXT "but WITHOUT ANY WARRANTY; without even the implied warranty of", -1, 8, 72, 240, 8
  251.     LTEXT "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the", -1, 8, 80, 240, 8
  252.     LTEXT "GNU General Public License for more details.", -1, 8, 88, 240, 8
  253.     LTEXT "You should have received a copy of the GNU General Public License", -1, 8, 100, 240, 8
  254.     LTEXT "along with this program; if not, write to the Free Software", -1, 8, 108, 240, 8
  255.     LTEXT "Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.", -1, 8, 116, 240, 8
  256.     LTEXT "", -1, 8, 124, 240, 8
  257.     LTEXT "Author: Russell Lang  (rjl@monu1.cc.monash.edu.au)", -1, 8, 138, 240, 8
  258.     ICON "gsview", ABOUT_ICON, 8, 8, 0, 0
  259. END
  260.  
  261. InputDlgBox DIALOG 48, 32, 192, 56
  262. STYLE DS_MODALFRAME |